package edu.online.main;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackages = {"edu.online.controller","edu.online.service"})
@MapperScan(basePackages={ "edu.online.dal","edu.online.dao"})
public class Application{
    public static void main(String[] args) {

        SpringApplication.run(Application.class, args);
    }
}

